<ion-view view-title="今日状况">
  <ion-content class="padding">
    <div class="list list-inset">
      <form name="form">
        <ion-list>
          <ion-item class="item-checkbox" ng-repeat="todo in status.todoList">
            <label class="checkbox">
              <input type="checkbox" ng-model="todo.completed" ng-click="toggleComplete(todo)">
            </label>
            <i class="icon ion-ios-keypad-outline" ng-if="pill.type !='液体'"></i>
            <i class="icon ion-ios-flask-outline" ng-if="pill.type === '液体'"></i>
            {{ todo.name }} x {{ todo.quantity }}
            <span ng-if="todo.frequency > 1">
              第{{ todo.index }}次服用
            </span>            
          </ion-item>
        </ion-list>
      </form>
    </div>
  </ion-content>
</ion-view>
